 $('#config-demo').daterangepicker({
	                        	"showDropdowns": true,
	                   		 	"timePicker": true,
	                   		 	"timePicker24Hour": true,
	                   		 	"timePickerIncrement": 1,
	                   		 	"timePickerSeconds": true,
	                   		 	"linkedCalendars": false,
	                   		 	"locale": {
	                   		 	"format": "YYYY/MM/DD HH:mm:ss",
	                            "separator": " - ",
	                            "applyLabel": "确认",
	                            "cancelLabel": "关闭",
	                            "fromLabel": "始",
	                            "toLabel": "终",
	                            "customRangeLabel": "自定义",
	                            "firstDay": 1,
	                            "daysOfWeek": ["日","一", "二", "三", "四", "五", "六"],
	                   			"monthNames":[ "一月", "二月","三月","四月","五月","六月","七月","八月","九月","十月", "十一月", "十二月"],
	                   						            
	                   		 	},
		                   		 "ranges": {
		                   			 "近1小时":[getStartRangeTime("1h"),new Date()],
		                   			 "近3小时":[getStartRangeTime("3h"),new Date()],
		                   			 "近一天":[getStartRangeTime("1d"),new Date()],
		                   			 "近一周":[getStartRangeTime("7d"),new Date()],
		                   			 "近一月":[getStartRangeTime("1M"),new Date()],
		                   			 "近一年":[getStartRangeTime("1y"),new Date()]
		                   		 },
	                   		 	"opens": "left",
//	                   		    "startDate": "",
	                   	   		"endDate": new Date(),
	                   		 	"minDate": getStartRangeTime("10y"),
	                   		 	"maxDate":getStartRangeTime("-10y")
	                   }, function(start, end, label) {
	                     console.log("New date range selected: ' + start.format('YYYY-MM-DD') + ' to ' + end.format('YYYY-MM-DD') + ' (predefined range: ' + label + ')");
	                   
	                   });